from COMMON.customer import Customer
class Customer_cases:
    def customer_cases(self, name, password, repassword, email, real_name, province, city, county):
        r = Customer().customer_same(name, password, repassword, email, real_name, province, city, county)
        if name in r and '用户名或邮箱已经存在！' not in r:
            a = '添加会员成功'
            return a
        else:
            b = '添加会员失败'
            return b